-
Home
-
WooCommerce PayPal Payments
-
2.9.0
-
Code
-
Classes
- PurchaseUnit
| Total Complexity |
29 |
| Dependencies |
5 |
| Dependents |
9 |
| Total lines |
339 |
| Lines of code |
114 |
| Logical lines of code |
53 |
| Comment lines |
164 |
| Methods |
17 |
| Properties |
11 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| to_array() |
A |
47 |
8 |
37 |
| apply_ditch_items_mismatch_filter() |
S |
60 |
4 |
13 |
| __construct() |
S |
54 |
3 |
22 |
| amount() |
S |
82 |
1 |
3 |
| set_amount() |
S |
81 |
1 |
3 |
| shipping() |
S |
82 |
1 |
3 |
| set_shipping() |
S |
81 |
1 |
3 |
| reference_id() |
S |
82 |
1 |
3 |
| description() |
S |
82 |
1 |
3 |
| custom_id() |
S |
82 |
1 |
3 |
| set_custom_id() |
S |
81 |
1 |
3 |
| set_sanitizer() |
S |
81 |
1 |
3 |
| invoice_id() |
S |
82 |
1 |
3 |
| soft_descriptor() |
S |
82 |
1 |
3 |
| payments() |
S |
82 |
1 |
3 |
| items() |
S |
82 |
1 |
3 |
| contains_physical_goods() |
S |
82 |
1 |
3 |